package com.hlkj.pay.app.merchant.ext.impl.wxpay.dto;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/12/11 13:43
 */
@Data
public class WxRefundNotifyResp {


    private String mchid;
    private String transaction_id;
    private String out_trade_no;
    private String refund_id;
    private String out_refund_no;
    /**
     * 【退款状态】退款单的退款处理状态。
     * SUCCESS: 退款成功
     * CLOSED: 退款关闭
     * PROCESSING: 退款处理中
     * ABNORMAL: 退款异常，退款到银行发现用户的卡作废或者冻结了，导致原路退款银行卡失败
     */
    private String refund_status;
    private String success_time;
    private String user_received_account;

    private Amount amount;

    @Data
    public class Amount{
        private Integer total;
        private Integer refund;
        private Integer payer_total;
        private Integer payer_refund;
    }





}
